<?php 
//    echo '<pre>';
//    print_r($lista);
//    exit();
?>
<img id="btCancelar" style="cursor: pointer;" src="includes/imagens/adm/shared/botao_voltar.png"   alt="" />
<table id="tabelaAlbuns" align="center" style="background-color:#FFFFFF; margin:auto; padding: 47px 0 20px 0;width:90%;">
    <tr>
        <?php foreach ($lista as $k => $v) { ?>	
        <td class="template-download <?php echo $v['verificaPrazo']; ?>" style="padding:8px; cursor: pointer; margin: 8px; " onclick="album.listarFotos(<?php echo $v['id_album']; ?>)">
            <div class="preview" align="center">
                  <img title="<?php echo 'Album: '.$v['album']; ?>" src="server/php/thumbnails/<?php echo strtr($v['pasta'], array(' ' => '_')) . '/' . $v['ds_imagem']; ?>">
            </div>
            <div class="albumTitulo">
                <?php echo $v['album']; ?>
            </div>
            <div class="albumTitulo">
                <?php echo $v['qtdImagens']; echo ($v['qtdImagens'] == 1)?' Foto':' Fotos.'; ?>
            </div>
        </td>
        <?php } ?>
    </tr>

</table>